<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>网站后台管理中心- Powered by UUASK</title>
<link rel="shortcut icon" href="/favicon.ico" />
<link href="/<?php echo C('UU_ADMINTPL_DIR');?>/public/css/common.css" rel="stylesheet" type="text/css">
<script src="/<?php echo C('UU_ADMINTPL_DIR');?>/public/js/jquery.min.js"></script>
<script src="/<?php echo C('UU_ADMINTPL_DIR');?>/public/js/jquery.highlight-3.js"></script>
<script src="/<?php echo C('UU_ADMINTPL_DIR');?>/public/js/jquery.vtip-min.js"></script>
<script src="/<?php echo C('UU_ADMINTPL_DIR');?>/public/js/jquery.dialog.js"></script>
<!--[if lt IE 9]>
  <script type="text/javascript" src="/<?php echo C('UU_ADMINTPL_DIR');?>/public/js/PIE.js"></script>
  <script type="text/javascript">
    (function($){
        $.pie = function(name, v){
            // 如果没有加载 PIE 则直接终止
            if (! PIE) return false;
            // 是否 jQuery 对象或者选择器名称
            var obj = typeof name == 'object' ? name : $(name);
            // 指定运行插件的 IE 浏览器版本
            var version = 9;
            // 未指定则默认使用 ie10 以下全兼容模式
            if (typeof v != 'number' && v < 9) {
                version = v;
            }
            // 可对指定的多个 jQuery 对象进行样式兼容
            if ($.browser.msie && obj.size() > 0) {
                if ($.browser.version*1 <= version*1) {
                    obj.each(function(){
                        PIE.attach(this);
                    });
                }
            }
        }
    })(jQuery);
    if ($.browser.msie) {
      $.pie('.pie_about');
    };
  </script>
<![endif]-->
<script src="/<?php echo C('UU_ADMINTPL_DIR');?>/public/js/jquery.disappear.tooltip.js"></script>
<script src="/<?php echo C('UU_ADMINTPL_DIR');?>/public/js/common.js"></script>
</head>
<body>
<div class="allpagetop">系统设置<strong>/</strong>注册设置</div>
<div class="admin_main_nr_dbox">
<div class="pagetit">
	        <div class="ptit">系统设置</div>
				<div class="topnav">
			        	<a href="<?php echo RU('config/config');?>" <?php if(ACTION_NAME == 'config'): ?>class="select"<?php endif; ?>>网站配置</a>
						<a href="<?php echo RU('config/reg');?>" <?php if(ACTION_NAME == 'reg'): ?>class="select"<?php endif; ?>>注册设置</a>
						<a href="<?php echo RU('config/agreement');?>" <?php if(ACTION_NAME == 'agreement'): ?>class="select"<?php endif; ?>>注册协议</a>
						<a href="<?php echo RU('config/gold');?>" <?php if(ACTION_NAME == 'gold'): ?>class="select"<?php endif; ?>>积分配置</a>
						<a href="<?php echo RU('config/map');?>" <?php if(ACTION_NAME == 'map'): ?>class="select"<?php endif; ?>>电子地图</a>
					   <a href="<?php echo RU('config/other');?>" <?php if(ACTION_NAME == 'other'): ?>class="select"<?php endif; ?>>其他</a>
				    <div class="clear"></div>
</div> 
	        <div class="clear"></div>
	    </div>
		
		
    <div class="toptit">注册设置</div>
  <form action="<?php echo RU('config/edit');?>" method="post"   name="FormData" id="FormData" >
	  <div class="admin_form_main big">
	  
		<div class="fl">关闭会员注册:</div>
		<div class="fr">
		 		<div class="imgchecked <?php if($show["UU_REG_CLOSE"] == 1 ): ?>select<?php endif; ?>">
					   <input name="UU_REG_CLOSE" type="hidden" value="<?php echo ($show["UU_REG_CLOSE"]); ?>" />
		  </div>	 
		</div>
	 

	 
		
 
		<div class="fl">手机注册用户名前缀:</div>
		<div class="fr">
		<input name="UU_REG_PRE_MOB" type="text"  class="input_text_default" maxlength="300" placeholder="手机注册会自动生成用户名，生成规则：随机字符+手机号，如:user_18636535353" value="<?php echo ($show["UU_REG_PRE_MOB"]); ?>"/>
		</div>
		<div class="fl">第三方注册用户名前缀:</div>
		<div class="fr">
		<input name="UU_REG_PRE_QQ" type="text"  class="input_text_default" maxlength="300" placeholder="第三方注册是指微信注册，QQ注册后生成的用户名" value="<?php echo ($show["UU_REG_PRE_QQ"]); ?>"/>
		</div>
		
		<div class="fl">快速注册生成密码:</div>
		<div class="fr">
				  <div class="imgradio">
				  	<input name="UU_REG_PWD_TYPE" type="hidden" value="<?php echo ($show["UU_REG_PWD_TYPE"]); ?>" />
				    <div class="radio <?php if($show["UU_REG_PWD_TYPE"] == 1 ): ?>select<?php endif; ?>" data="1">随机密码</div>
					<div class="radio <?php if($show["UU_REG_PWD_TYPE"] == 2 ): ?>select<?php endif; ?>" data="2">指定密码</div>
					<div class="clear"></div>
				  </div>
				  
		</div>
		
		<div class="moreform"  <?php if($show["UU_REG_PWD_TYPE"] == 2 ): ?>style="display:block"<?php endif; ?>>
					<div class="fl">指定密码:</div>
					<div class="fr">
					<input name="UU_REG_PWD_TYPE_TXT" type="text"  class="input_text_default" maxlength="300" placeholder="请输入快速注册指定密码" value="<?php echo ($show["UU_REG_PWD_TYPE_TXT"]); ?>"/>
					</div>
					
		</div>
		
		
		 <div class="fl"></div>
		<div class="fr">
		<input name="" type="submit" class="admin_submit big"    value="保存配置"/>
		</div>
		
		
		
		<div class="clear"></div>
		
	  </div>
  
  
 
  
  
   
  </form>
</div>
<div class="footer link_lan">
Powered by <a href="http://www.zgxmall.com" target="_blank"><span style="color:#009900">中港星企业服务</span><span style="color: #FF3300">论坛</span></a> <?php echo C('UU_VERSION');?>
</div>
</body>
</html>
<script type="text/javascript">
		$(document).ready(function(){
			$('.imgradio .radio').click(function()
			{
				if($(this).attr('data')=='1')
				{
				$(".moreform").hide();
				}
				else
				{
				$(".moreform").show();
				}
			});
		});
</script>
</body>
</html>